home *** CD-ROM | disk | FTP | other *** search
- Path: malin.foa.se!usenet
- From: Roger Holmquist <roghol@lin.foa.se>
- Newsgroups: comp.lang.c
- Subject: Re: Recursive function -> how do you exit one?
- Date: 3 Feb 1996 19:02:43 GMT
- Organization: FOA
- Message-ID: <4f0bgj$2gd@malin.foa.se>
- References: <4eh1g8$aba@pulp.ucs.ualberta.ca> <4ejbf0INN2b3@keats.ugrad.cs.ubc.ca> <310EB116.11E@microsports.com>
- NNTP-Posting-Host: rogholh.lin.foa.se
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: quoted-printable
- X-Mailer: Mozilla 1.12(Macintosh; I; 68K)
- X-URL: news:310EB116.11E@microsports.com
-
- Well, my friend, your recursive function seem to work
- very fine because your return statement has to be
- executed several times IF it really IS a recusive
- function AND if you don't have more than ONE return
- statement!
- (If you call yourself you also have to return to
- yourself!)
- If this doesn=A5t work, call your compiler vendor!
- Greetings Roger
-
-
-